package com.example.book;

import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Paint.Cap;
import android.graphics.Paint.Join;
import android.graphics.Point;
 
import com.google.android.maps.GeoPoint;
import com.google.android.maps.Overlay;

 
 
/**
 * Overlay defined for Navigation Route
 *
 *
 */
public class NavigationRouteOverlay extends Overlay {
 
    private GeoPoint gp1;
    private GeoPoint gp2;
 
    private int mode = 0;
    private int defaultColor;
 
 
    public NavigationRouteOverlay(GeoPoint gp1,GeoPoint gp2,int mode) {
        this.gp1 = gp1;
        this.gp2 = gp2;
        this.mode = mode;
 
        this.defaultColor = 999;
 
    }
 
    public NavigationRouteOverlay(GeoPoint gp1,GeoPoint gp2, int mode, int defaultColor) {
        this.gp1 = gp1;
        this.gp2 = gp2;
        this.mode = mode;
        this.defaultColor = defaultColor;
 
    }
 
    public int getMode() {
        return mode;
    }
 
   
 
}